package com.myz.cloud.stream.rocketmq.error.producer;

import com.myz.cloud.stream.rocketmq.error.producer.producer.ProducerManager;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Bean;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class RocketmqBinderErrorProducerApplication {

    public static void main(String[] args) {
        SpringApplication.run(RocketmqBinderErrorProducerApplication.class, args);
    }

    @Bean
    public ProducerManager producerManager(){
        return new ProducerManager();
    }

}
